package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class WelcomePacket implements ISendableIRCPacket 
	{
		private static const _head:String = " 001 ";
		private var _nick:String;
		private var _host:String;
		
		public function WelcomePacket(nick:String, host:String) {
			_nick = nick;
			_host = host;
		}
		
		public function getMessage():String	{
			trace("WELCOME NICK:" + _nick);
			return ":" + Config.IRC_HOST + _head + _nick + " :Welcome to the " + Config.IRC_NETWORK_NAME + " - Chat.hu IRC GateWay " + _host + "\n";
		}
		
	}

}